package cn.damai.search.baseService;

import cn.damai.model.ItemType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BaseItemTypeService {

    ItemType getItemTypeById(@RequestParam("id") Long id);

    List<ItemType>	getItemTypeListByMap(@RequestParam Map<String, Object> param);

    Integer getItemTypeCountByMap(@RequestParam Map<String, Object> param);

    Integer qdtxAddItemType(@RequestBody ItemType ItemType);

    Integer qdtxModifyItemType(@RequestBody ItemType ItemType);
}
